import request from '@/utils/request'




// 新增回答收录列
export function addEmploy(data) {
  return request({
    url: '/insertPainting',
    method: 'post',
    data: data
  })
}







// 查询回答收录列列表
export function listEmploysys(username,current,size,isdelete) {
  return request({
    url: '/getPaintingByPage',
    method: 'get',
    params: { username,current,size,isdelete}
  })
}





// 修改回答收录列
export function updateEmploysys(data) {
  return request({
    url: '/updatePainting',
    method: 'post',
    data: data
  })
}

// 修改回答收录列
export function getModels() {
  return request({
    url: '/getModels',
    method: 'get',
  })
}


// 修改回答收录列
export function changeModel(modelname) {
  return request({
    url: '/changeModel',
    method: 'get',
    params:{modelname}
  })
}

export function getcurrentModel(){
  return request({
    url: '/getcurrentModel',
    method: 'get',
  })
}